<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@include file="/common/header.jsp"%>
<script type="text/javascript" src="${ctx}/js/erp/main.js"></script>
<title>Main</title>
</head>
<body class="easyui-layout">
   <div region="north" class="main-header" style="height:73px;width: 100%;overflow: hidden;">
        <div class="gd_nav">
            <div class="nav_mid">
                <div class="logo">
                    <a href="javascript:;">
                        <img src="${ctx}/images/logo_header_cloudfoundry.png" border="0">
                    </a>
                </div>
                <div class="header-tools">
                    <ul class="header-tools-nav">
                        <li id="ht-contact"><span class="span-color">欢迎你!<a href="/contact">Admin</a></span></li>
                        <li id="ht-shop"><span class="span-color">当前角色：<a href="/">系统管理员</a></span></li>
                        <li id="ht-logout"><span class="span-color"><a href="${ctx}/system/logout.action">安全退出</a></span></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div region="west" split="true" title="菜单列表" class="main-west-menu">
        <div class="easyui-accordion" fit="true" border="false">
            <s:iterator status="st" value="privileges">
                <div title="<s:property value="name"/>" <s:if test="#st.index == 0">selected="true"</s:if>>
                    <ul id="easytree<s:property value="id"/>" class="easyui-tree" data-options="url:'${ctx}/menu/getPrivilegeTreeById.action?id=<s:property value="id"/>',animate:true,attributes:{url:'/demo/book/abc'},onClick:openTabUrl"></ul>
                </div>
            </s:iterator>
        </div>
    </div>
    <div region="center" border="false">
        <div id="navTabs" class="easyui-tabs" fit="true">
            <div title="我的主页"> 
                <div class="ml15">
                    <h3>jQuery EasyUI framework help you build your web page easily.</h3>
                    <li>easyui is a collection of user-interface plugin based on jQuery.</li> 
                    <li>using easyui you don't write many javascript code, instead you defines user-interface by writing some HTML markup.</li> 
                    <li>easyui is very easy but powerful.</li> 
                </div>
            </div>
        </div>
    </div>
    <div region="south" border="false">
        <div class="panel-header" class="tc">版权所有copy@2012</div>
    </div>
    <div id="mm" class="easyui-menu" style="width:150px;">  
        <div id="m-refresh" data-options="iconCls:'icon-refresh'">刷新</div>
        <div id="mm-tabclose" data-options="iconCls:'icon-remove-data'">关闭</div>  
        <div class="menu-sep"></div>
        <div id="mm-tabcloseall" data-options="iconCls:'delete'">关闭全部</div>  
        <div id="mm-tabcloseother" data-options="iconCls:'database_delete'">关闭其它</div>  
        <div class="menu-sep"></div>  
        <div id="mm-tabcloseright" data-options="iconCls:'transmit'">关闭右侧标签</div>  
        <div id="mm-tabcloseleft" data-options="iconCls:'transmit_blue'">关闭左侧标签</div>
    </div>
    <div id="background-mask" class="background-mask"></div>
</body>
</html>